var vm = new Vue({
    el: "#app",
    data: {
        inputText: "",
        arr: [],
        obj: { name: "刘", age: 18 },

    },
    methods: {
        add() {

        }
    },
    computed: {

    },
    watch: {
        inputText(newValue, oldValue) {
            console.log("最新值");
        },
        arr() {

        },
        obj: {
            handler() {
                console.log("改变了");
            }
        },
        deep: true,
    }
})